Title Banner

Previous Book Contents Book Index Next

Inside Macintosh: QuickTime Components /
Chapter 5 - Sequence Grabber Components / Sequence Grabber Components Reference
Sequence Grabber Component Functions / Working With Video Channels


SGGetFrameRate

The SGGetFrameRate function allows you to retrieve a video channel's frame rate for recording.

pascal ComponentResult SGGetFrameRate (SGChannel c, 
                                       Fixed *frameRate);
c
Identifies the channel for this operation. You provide your
connection identifier. You connect to a channel component by calling the SGNewChannel or SGNewChannelFromComponent function, discussed on page 5-29 and page 5-30, respectively.
frameRate
Contains a pointer to a field to receive the current frame rate. The sequence grabber returns the channel's current frame rate.
DESCRIPTION
The SGGetFrameRate function returns the channel's current rate. By default, the channel records at the fastest rate it can support. In this case, the channel sets the field referred to by the frameRate parameter to 0.

SEE ALSO
You can set a channel's frame rate by calling the SGSetFrameRate function, which is described in the previous section.


Previous Book Contents Book Index Next

© Apple Computer, Inc.
7 JUL 1996




Navigation graphic, see text links

Main | Top of Section | What's New | Apple Computer, Inc. | Find It | Feedback | Help